<template>
  <!-- exclude属性:包含哪些组件不需要被缓存 -->
  <keep-alive exclude="News">
    <router-view></router-view>
  </keep-alive>
</template>

<script>
export default {
  name: "App",
};
</script>

<style></style>